home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / Include / sun3.md / dbgAsm.h < prev    next >
C/C++ Source or Header  |  1989-08-04  |  1KB  |  42 lines

  1. /*
  2.  * dbgAsm.h --
  3.  *
  4.  *     Termination type constants.  These are in a separate file
  5.  *     because this file is included by the assembler file and assemblers
  6.  *     can't handle C types.
  7.  *
  8.  * Copyright (C) 1985 Regents of the University of California
  9.  * All rights reserved.
  10.  *
  11.  *
  12.  * $Header: /sprite/src/kernel/dbg/sun3.md/RCS/dbgAsm.h,v 8.1 89/07/14 09:33:18 rab Exp $ SPRITE (Berkeley)
  13.  */
  14.  
  15. #ifndef _DBGASM
  16. #define _DBGASM
  17.  
  18. /*
  19.  * Reasons for termination.  These are Unix signal numbers that dbx expects.
  20.  * Therefore don't change these numbers or kdbx will break.  The reasons are:
  21.  *
  22.  *    DBG_NOREASON_SIG    Unknown reason
  23.  *    DBG_INTERRUPT_SIG    Interrupt
  24.  *    DBG_TRACETRAP_SIG    Trace trap
  25.  */
  26.  
  27. #define    DBG_NO_REASON_SIG    0
  28. #define    DBG_INTERRUPT_SIG    2
  29. #define    DBG_TRACE_TRAP_SIG    5
  30.  
  31. /*
  32.  * The size of the hole to leave in the debuggers stack when it is called.
  33.  * This hole is so that kdbx can play with the stack without ruining the
  34.  * the debuggers stack.  The size is in bytes. The size must be a mutiple
  35.  * of 4 to allow the code in dbgTrap.s to conform to the gcc C calling
  36.  * sequence.
  37.  */
  38.  
  39. #define    DBG_STACK_HOLE    52
  40.  
  41. #endif /* _DBGASM */
  42.